export default {
	path: '/admin',
	name: 'admin',
    component: () => import('@/views/Admin'),
	children: [
		{
			path: "allUser",
			name: "allUser",
            component: () => import("@/views/Admin/allUser.vue"),
            meta: {
                requireAuth: true
            },
		},
		{
			path: "cinemas",
			name: "cinemas",
			component: () => import("@/views/Admin/cinemas.vue")
		},
		{
			path: "movies",
			name: "movies",
			component: () => import("@/views/Admin/movies.vue")
		},
		{
			path: "other",
			name: "other",
			component: () => import("@/views/Admin/other.vue")
		},
		{
			path: "/admin",
			redirect: "allUser"
		}
	]
}